﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DBSchemaViewer.BackEnd.ModelXML
{
    public class DocumentDAL
    {
        private DataStoreXML _dataStoreXML = DataStoreXML.Instance;

        public void NewDocument()
        {
            _dataStoreXML.NewDocument();
        }


        public string DocumentContent
        {
            get { return _dataStoreXML.DocumentContent(); }
        }


        
        public bool LoadDocument(string xmlContent)
        {
            return _dataStoreXML.LoadDocument(xmlContent);            
        }

        /*
        public void SaveDocument(string uriDocumentID)
        {
            throw new System.NotImplementedException();
        }
        */
    }
}
